package account

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/account/v1"
)

func (c *ControllerV1) AccountInfoUpdate(ctx context.Context, req *v1.AccountInfoUpdateReq) (res *v1.AccountInfoUpdateRes, err error) {
	res = &v1.AccountInfoUpdateRes{}
	err = service.Account().Update(ctx, &req.AccountInfoUpdateInput)
	return
}
